﻿@{
    ViewBag.Title = "Home Page";
}

@if (Session["EncryptedPasswordForUserToWriteDown"] != null)
{
    Html.RenderPartial("_TokenForUserPartial");
}
else
{
    <h2>Welcome To CodeStash</h2>
    <p>Feel free to explore the features of CodeStash which include:</p>
    <ul>
        <li>The ability to create teams of users who can see each others snippets</li>
        <li>Create new snippets, which will get syntax highlighted</li>
        <li>Edit existing snippets</li>
        <li>Remove existing snippets</li>
        <li>Smart search across snippets using "By KeyWord", "By Tag", "By Langauge", where you can pick the snippet visibility (Public / MyTeam / Only My snippets) to search for</li>
        <li>Group snippets together, so you may see a XAML, C#, and related code when you search for a single snippet</li>
    </ul>
}
